home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-serious-
/
gfxcard
/
chunkyppc
/
chunkyppc_protos.h.ade
< prev
next >
Wrap
Text File
|
1999-09-06
|
5KB
|
92 lines
#ifndef CLIB_CHUNKYPPC_H
#define CLIB_CHUNKYPPC_H
#ifndef EXEC_LIBRARIES_H
#include <exec/libraries.h>
#endif
#include GRAPHICS_GFX_H
#include <graphics/gfx.h>
#endif
#include <powerpc/warpup_macros.h>
extern struct Library *ChunkyPPCBase;
#define BIT16 1
#define BIT16_SWAP 2
#define BIT16_ROT 4
#define BIT16_SWAP_ROT 8
#define BIT24 16
#define BIT24_ROT 32
#define BIT32 64
#define BIT32_SWAP 128
#define BIT32_ROT 256
#define BIT32_SWAP_ROT 512
#define BIT32_ROT_REVERSE 1024
#define BIT32_SWAP_ROT_REVERSE 2048
#define BIT8 4096
struct Soff
{
int x,y;
};
struct Buffers
{
UBYTE *address;
UBYTE *mask;
};
#define ChunkyNoffFast(v1,v2,v3,v4,v5) PPCLP5NR (ChunkyPPCBase,-30,UBYTE *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5)
#define ChunkyNoffFastest(v1,v2,v3,v4,v5) PPCLP5NR (ChunkyPPCBase,-36,UBYTE *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5)
#define ChunkyNoffNormal(v1,v2,v3,v4,v5) PPCLP5NR (ChunkyPPCBase,-42,UBYTE *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5)
#define ChunkyFast(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase,-48,UBYTE *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9, v6, int,10, v7)
#define ChunkyFastest(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase,-54,UBYTE *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9,v6,int,10,v7)
#define ChunkyNormal(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase,-60,UBYTE *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9,v6,int,10,v7)
#define ChunkyFastFull(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase, -66, UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3, struct Soff *,7,v4,int,8,v5,struct Soff *,9,v6,int,10,v7)
#define ChunkyFastestFull(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase, -72, UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3, struct Soff *,7,v4,int,8,v5,struct Soff *,9,v6,int,10,v7)
#define ChunkyNormalFull(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase, -78, UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3, struct Soff *,7,v4,int,8,v5,struct Soff *,9,v6,int,10,v7)
#define c2p_1(v1,v2,v3,v4) PPCLP4NR (ChunkyPPCBase, -84, UBYTE *,4,v1,struct BitMap *,5,v2,int,6,v3,int,7,v4)
#define c2p_2(v1,v2,v3,v4) PPCLP4NR (ChunkyPPCBase, -90, UBYTE *,4,v1,UBYTE *,5,v2,UBYTE *,6,v3,int,7,v4)
#define c2p_3(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR (ChunkyPPCBase, -96, void *,4,v1,void *,5,v2,int,6,v3,int,7,v4,struct Soff *,8,v5,int,9,v6,int,10,v7)
#define c2p_4(v1,v2,v3,v4,v5,v6) PPCLP6NR (ChunkyPPCBase, -102, void *,4,v1,UBYTE *,5,v2,UBYTE *,6,v3,struct Soff *,7,v4, struct Soff *,8,v5, struct Soff *,9,v6)
#define ChunkyNoffFastHT(v1,v2,v3,v4,v5,v6) PPCLP6NR(ChunkyPPCBase,-108,UBYTE *,4,v1, UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9,v6)
#define ChunkyNoffFastestHT(v1,v2,v3,v4,v5,v6) PPCLP6NR(ChunkyPPCBase,-114,UBYTE *,4,v1, UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9,v6)
#define ChunkyNoffNormalHT(v1,v2,v3,v4,v5,v6) PPCLP6NR(ChunkyPPCBase,-120,UBYTE *,4,v1, UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9,v6)
#define ChunkyFastHT(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-126,UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,int,7,v4,int,8,v5,int,9,v6,int,10,v7)
#define ChunkyFastestHT(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-132,UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,int,7,v4,int,8,v5,int,9,v6,int,10,v7)
#define ChunkyNormalHT(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-138,UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,int,7,v4,int,8,v5,int,9,v6,int,10,v7)
#define ChunkyFastFullHT(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-144,UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,struct Soff *,7,v4,struct Soff *,8,v5,struct Soff *,9,v6,int,10,v7)
#define ChunkyFastestFullHT(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-150,UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,struct Soff *,7,v4,struct Soff *,8,v5,struct Soff *,9,v6,int,10,v7)
#define ChunkyNormalFullHT(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-156,UBYTE *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,struct Soff *,7,v4,struct Soff *,8,v5,struct Soff *,9,v6,int,10,v7)
#define ChunkyNoffMask(v1,v2,v3,v4,v5,v6) PPCLP6NR(ChunkyPPCBase,-162,struct Buffers *,4,v1,UBYTE *,5,v2,int,6,v3,int,7,v4,int,8,v5,int,9,v6)
#define ChunkyMask(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-168,struct Buffers *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,int,7,v4,int,8,v5,int,9,v6,int,10,v7)
#define ChunkyMaskFull(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-174,struct Buffers *,4,v1,UBYTE *,5,v2,struct Soff *,6,v3,struct Soff *,7,v4,struct Soff *,8,v5,struct Soff *,9,v6,int,10,v7)
#define c2p_HI(v1,v2,v3,v4,v5,v6,v7) PPCLP7NR(ChunkyPPCBase,-180, UBYTE *,4,v1,int,5,v2,UBYTE *,6,v3,UBYTE *,7,v4,UBYTE *,8,v5,UBYTE *,9,v6,UBYTE *,10,v7)
#endif